home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Remove from TMap
- Sent: 6/14/96 2:09 AM
- Received: 6/14/96 9:17 AM
- From: Steinar.Tyvand@si.sintef.no
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Thank You for a dissapointing answer!
-
- Can I subclass the TMap in some way to add a remove function?
-
- Steinar
-
-
- At 01:48 14.06.96 -0700, you wrote:
- >At 8:01 AM 6/14/96, Steinar.Tyvand@si.sintef.no wrote:
- >>I'm using the TMap template to create a map of FW_CString to a value. How do
- >>I remove a pair from the mapping?
- >
- >I'm (very) embarassed to admit it, but it is not currently possible to
- >remove items from FW_TMaps. I rolled that class together pretty quickly
- >relatively late in our development cycle and specifically to meet our needs
- >in archiving, which doesn't need to remove items from maps. I did intend
- >the class to be generally reusable, but in the hustle to get ODF R1
- >finished I didn't notice the missing functionality.
- >
- >It can be fixed in a future release, but will require adding another
- >function to ODFLibrary, so parts using the revised maps won't work with
- >ODFLibrary 1.0. It's really a shame to require a new release of ODFLibrary
- >to get this basic functionality.
- >
- >Sorry for the inconvenience.
- >
- >Jim Lloyd
- >
- >
- >
- --------------------------------------------------------------
- Steinar Tyvand e-mail: Steinar.Tyvand@unimed.sintef.no
- SINTEF Unimed Rehab Phone: +47 22 06 78 29 (work)
- Box 124 Blindern Fax: +47 22 06 79 09 (work)
- N-0314 Oslo Phone: +47 67 56 17 79 (home)
- Norway Fax: +47 67 56 05 36 (home)
- --------------------------------------------------------------
-